<template>
	<view class="page_box">
		<u-navbar :is-back="true" title="设置" v-if="1" :border-bottom="false"></u-navbar>

		<view class="content_box ">
			<!-- <view class="content-item content-border">
				<navigator url="./personalInfo" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_grzl.png" style="width: 26rpx;height: 30rpx;"></image>
						<text class="set-title">个人资料</text>
					</view>
					<u-icon name="arrow-right" color="#232323" size="24"></u-icon>
				</navigator>
				<navigator url="" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_shdz.png" style="width: 27rpx;height: 33rpx;"></image>
						<text class="set-title">收货地址</text>
					</view>
					<u-icon name="arrow-right" color="#232323" size="24"></u-icon>
				</navigator>				
			</view> -->
			
			<view class="content-item">
				<navigator url="" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_gywm.png" style="width: 30rpx;height: 29rpx;"></image>
						<text class="set-title">关于我们</text>
					</view>
					<u-icon name="arrow-right" color="#232323" size="24"></u-icon>
				</navigator>
				<navigator url="./acctAndSecurity" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_zhyaq.png" style="width: 25rpx;height: 31rpx;"></image>
						<text class="set-title">账号与安全</text>
					</view>
					<u-icon name="arrow-right" color="#232323" size="24"></u-icon>
				</navigator>
				<navigator url="" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_xxts.png" style="width: 27rpx;height: 27rpx;"></image>
						<text class="set-title">消息推送</text>
					</view>
					<u-switch 
						v-model="switchChecked"
						active-color="#FFCC00"
						size="36"
						@change="switchChange"
					></u-switch>
				</navigator>
				<navigator url="./feedback" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_yjfk.png" style="width: 28rpx;height: 28rpx;"></image>
						<text class="set-title">意见反馈</text>
					</view>
					<u-icon name="arrow-right" color="#232323" size="24"></u-icon>
				</navigator>
				<navigator url="" hover-class="none" class="set-item flex align-center justify-between">
					<view class="flex align-center">
						<image src="https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/ico_qkhc.png" style="width: 29rpx;height: 29rpx;"></image>
						<text class="set-title">清空缓存</text>
					</view>
					<u-icon name="arrow-right" color="#232323" size="24"></u-icon>
				</navigator>
			</view>
			
			<view class="position-bottom">
				<button class="circle-btn" @click="determine()">退出登录</button>
			</view>


		</view>

		<yy-login v-if="vuex_login"></yy-login>
		<yy-loading text="加载中.." mask="true" click="true" ref="loading"></yy-loading>
		<u-toast ref="uToast" />
	
	</view>
</template>

<script>
export default {
	data() {
		return {
			switchChecked:false
		};
	},
	onShow() {
		
	},
	onLoad(e) {},
	methods: {
		switchChange(status){
			// console.log(status);
		}
	}
};
</script>

<style lang="scss" scoped>
.page_box {

}

.content_box {
	.set-item{
		padding: 36rpx 0;
		border-bottom: 1rpx solid #F7F7F7;
		&:last-child{
			border-bottom: none;
		}
		.set-title{
			margin-left: 30rpx;
		}	
	}
	.position-bottom{
		position: fixed;
		width: 100vw;
		left: 0;
		bottom: 68rpx;
		padding: 0 30rpx;
	}
	.circle-btn{
		background: #4a515b;
		color: #FFFFFF;
		font-family: PingFang SC, PingFang SC-Medium;
		border-radius: 45rpx;
		font-size: 30rpx;
		font-weight: 500;
		line-height: 90rpx;
	}
}
</style>
